package dancetwotiktokmodelclickhouse

type DanceActivitiesDrawPrizeUserLogAll struct {
	Id                        uint64 `json:"id" gorm:"column:id;comment:id"`
	MongoId                   string `json:"mongoId" gorm:"column:mongo_id;type:varchar(500);not null;default:'';comment: mongo _id"`
	ActivitiesId              int64  `json:"activitiesId" gorm:"column:activities_id;type:bigint;default:0;comment:活动id"`
	ActivitiesConditionId     int64  `json:"activitiesConditionId" gorm:"column:activities_condition_id;type:bigint;default:0;comment:抽奖条件id"`
	TypeActivitiesOne         int64  `json:"typeActivitiesOne" gorm:"column:type_activities_one;type:bigint;default:0;comment:中奖一级类型"`
	TypeActivities            int64  `json:"typeActivities" gorm:"column:type_activities;type:bigint;default:0;comment:中奖二级类型"`
	ConditionsValue           int64  `json:"conditionsValue" gorm:"column:conditions_value;type:bigint;default:0;comment:中奖的值"`
	Score                     int64  `json:"score" gorm:"column:score;type:bigint;default:0;comment:中奖的星光值"`
	PrizeNumber               int64  `json:"prizeNumber" gorm:"column:prize_number;type:bigint;default:0;comment:中奖的奖品数量"`
	PieceElementNo            int64  `json:"pieceElementNo" gorm:"column:piece_element_no;type:bigint;default:0;comment:道具对应的碎片编号"`
	ExchangeNumber            int64  `json:"exchangeNumber" gorm:"column:exchange_number;type:bigint;default:0;comment:道具对应的兑换碎片数量，星光值和碎片为0"`
	PrizeGetType              int64  `json:"prizeGetType" gorm:"column:prize_get_type;type:bigint;default:0;comment:获取类型 0：直抽 1:兑换"`
	ExchangeOrigin            string `json:"exchangeOrigin" gorm:"column:exchange_origin;type:varchar(500);not null;default:'';comment: 兑换来源，兑换前的奖品信息"`
	ConditionsValueProportion int64  `json:"conditionsValueProportion" gorm:"column:conditions_value_proportion;type:bigint;default:0;comment:中奖比例"`
	ValidityPeriod            int64  `json:"validityPeriod" gorm:"column:validity_period;type:bigint;default:0;comment:礼品有效期"`
	Tag                       int64  `json:"tag" gorm:"column:tag;type:bigint;default:0;comment:等级标记"`
	UserId                    string `json:"userId" gorm:"column:user_id;type:varchar(500);not null;default:'';comment: 用户id"`
	UserName                  string `json:"userName" gorm:"column:user_name;type:varchar(500);not null;default:'';comment: 用户名字"`
	UserAvatar                string `json:"userAvatar" gorm:"column:user_avatar;type:varchar(500);not null;default:'';comment: 用户头像"`
	RoomId                    string `json:"roomId" gorm:"column:room_id;type:varchar(500);not null;default:'';comment: 房间id"`
	ModelId                   string `json:"modelId" gorm:"column:model_id;type:varchar(500);not null;default:'';comment: 比赛id"`
	Start                     int64  `json:"start" gorm:"column:start;type:bigint;default:0;comment:命中开始的区间"`
	End                       int64  `json:"end" gorm:"column:end;type:bigint;default:0;comment:命中结束的区间"`
	DrawNo                    string `json:"drawNo" gorm:"column:draw_no;type:varchar(500);not null;default:'';comment: 抽奖编号"`
	DrawIndex                 string `json:"drawIndex" gorm:"column:draw_index;type:varchar(500);not null;default:'';comment: 第几次抽奖"`
	DrawPrizeRuleOneNum       int64  `json:"drawPrizeRuleOneNum" gorm:"column:draw_prize_rule_one_num;type:bigint;default:0;comment:累计抽奖次数"` // 累计抽奖次数
	RuleOneMinNumber          int64  `json:"ruleOneMinNumber" gorm:"column:rule_one_min_number;type:bigint;default:0;comment:第一保底左边"`        // 第一保底左边
	RuleOneMaxNumber          int64  `json:"ruleOneMaxNumber" gorm:"column:rule_one_max_number;type:bigint;default:0;comment:第一保底右边"`        // 第一保底右边
	IsGuaranteed              int64  `json:"isGuaranteed" gorm:"column:is_guaranteed;type:bigint;default:0;comment:是否是保底 0:不是 1:是"`          // 是否是保底 0:不是 1:是
	CreatedAt                 int64  `json:"createdAt" gorm:"column:created_at;type:bigint;default:0;comment:创建时间"`
	CreatedAtString           string `json:"createdAtString" gorm:"column:created_at_string;type:varchar(500);not null;default:'';comment: 创建时间"`
}
